package org.zcl.event;

import org.springframework.context.ApplicationEvent;

/**
 * @Package org.zcl.event
 * @PROJECT_NAME: question
 * @DESCRIPTION:
 * @USER: zhuchenglin
 * @DATE: 2022/6/28 15:02
 */
public class OrderProductEvent extends ApplicationEvent {

    private static final long serialVersionUID = -5726024995602027060L;

    public String getOrderId() {
        return orderId;
    }

    /** 该类型事件携带的信息 */
    private String orderId;

    public OrderProductEvent(Object source, String orderId) {
        super(source);
        this.orderId = orderId;
    }
}
